package dao;

import java.util.List;
import java.util.Map;

public interface JxDao {

	public List<Map<String,Object>> contractJx(Map<String, Object> map);
	
	public int insertJx(List<Map<String, Object>> list);
	
	public List<Map<String,Object>> dispatchJx();
	
	public List<Map<String,Object>> upkeepJx();
	
	public List<Map<String,Object>> partJx();
	
	//查询需要重复跑批的维修合同数据
	public List<Long> queryAgainContract();
	//查询需要重复跑批的派工数据
	public List<Long> queryAgainDispatch();
	//查询需要重复跑批的保养数据
	public List<Long> queryAgainUpkeep();
	//查询需要重复跑批的配件数据
	public List<Long> queryAgainPart();
	
	//删除绩效表中需要重新录入的维修合同数据
	public int deleteAgainContract(List<Long> list);
	//删除绩效表中需要重新录入的派工数据
	public int deleteAgainDispatch(List<Long> list);
	//删除绩效表中需要重新录入的保养数据
	public int deleteAgainUpkeep(List<Long> list);
	//删除绩效表中需要重新录入的配件数据
	public int deleteAgainPart(List<Long> list);
	
	
	//修改合同表跑批标识 task_flag = 1
	public int updateFlagContract(List<Long> list);
	//修改派工表跑批标识 task_flag = 1
	public int updateFlagDispatch(List<Long> list);
	//修改保养表跑批标识 task_flag = 1
	public int updateFlagUpkeep(List<Long> list);
	//修改配件表跑批标识 task_flag = 1 
	public int updateFlagPart(List<Long> list);
}